﻿package frEngine.shader.registType
{
    import flash.display3D.*;
    import flash.geom.*;
    import frEngine.shader.registType.base.*;

    public class MaxtrixParam extends RegistParam
    {
        public var type:String;

        public function MaxtrixParam(param1:String, param2:int, param3:String, param4:Matrix3D)
        {
            var _loc_5:String = null;
            this.type = param1;
            if (param1 == Context3DProgramType.VERTEX)
            {
                _loc_5 = "vc" + param2;
            }
            else
            {
                _loc_5 = "fc" + param2;
            }
            super(_loc_5, param2, param3, param4);
            return;
        }// end function

        public function clone() : MaxtrixParam
        {
            return new MaxtrixParam(this.type, this.index, this.paramName, this.value);
        }// end function

    }
}
